// Application.js
var Application = {};

Application.Validation = {};
Application.Contenido = null;
Application.Configuracion = {};
Application.API = '/api/';
Application.DATA = '/data/';
Application.ultimaVista = null;
Application.vistaGuardada = [];
Application.Constantes = {};
Application.Models = {};
Application.Views = {};
Application.Collections = {};
Application.navegar = function (url) {
	if (!window.location.origin) {
        window.location.origin = window.location.protocol+"//"+window.location.host;
	}
	url = url.replace(window.location.origin, '');
	Application.Router.navigate(url, { trigger: true });
	return false;
};
